-- GENERATED SPELL FOR [Sar'this] --


function spell0_23093(pUnit, Event) --@Summon Arcane Elemental,Self--
pUnit:FullCastSpellOnTarget(40134,pUnit)
pUnit:RegisterEvent('Sorts_23093', 3000, 1)
end

function Sorts_23093(pUnit, Event)
local choix_sorts_23093 = math.random(0, 0)
if choix_sorts_23093 == 0 then
pUnit:RegisterEvent('spell0_23093', 1, 1)
end
end

function mob23093_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23093', math.random(1500, 3000), 1)
end

function mob23093_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23093_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23093_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23093, 1, 'mob23093_Action')
RegisterUnitEvent(23093, 2, 'mob23093_Leave')
RegisterUnitEvent(23093, 3, 'mob23093_Kill')
RegisterUnitEvent(23093, 4, 'mob23093_Die')
